#define _CRT_SECURE_NO_WARNINGS 1
#include"SeqList.h"

void SeqTest01()
{
	SL s;
	SLInit(&s);

	SLPushFront(&s, 1);
	SLPushFront(&s, 2);
	SLPushFront(&s, 3);
	SLPushFront(&s, 4);

	//int find = SLFind(&s, 3);
	//if (find < 0)
	//	printf("can't find this value\n");
	//else
	//{
	//	//SLModify(&s, find, 66);
	//	//SLInsertFront(&s, find, 100);
	//	//SLErase(&s, SLFind(&s, 100));
	//}

	SLErase(&s, SLFind(&s, 4));

	SLDestroy(&s);
}

int main()
{
	SeqTest01();
	return 0;
}